using System;
namespace Staffing
{
	/// <summary>
	/// Personel.
	/// </summary>
	public class Personel
	{
		#region CTOR
		/// <summary>
		/// Initializes a new instance of the <see cref="Staffing.Personel"/> class.
		/// </summary>
		public Personel ()
		{
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="Staffing.Personel"/> class.
		/// </summary>
		/// <param name='FullName'>
		/// Full name.
		/// </param>
		public Personel (string FullName) :
			this ()
		{
			_name = FullName;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="Staffing.Personel"/> class.
		/// </summary>
		/// <param name='FirstName'>
		/// First name.
		/// </param>
		/// <param name='LastName'>
		/// Last name.
		/// </param>
		public Personel (string FirstName, string LastName) :
			this (FirstName + " " + LastName)
		{
			_firstname = FirstName;
			_lastname = LastName;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="Staffing.Personel"/> class.
		/// </summary>
		/// <param name='FirstName'>
		/// First name.
		/// </param>
		/// <param name='LastName'>
		/// Last name.
		/// </param>
		/// <param name='ID'>
		/// I.
		/// </param>
		public Personel (string FirstName, string LastName, string ID) :
			this (FirstName, LastName)
		{
			_id = ID;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="Staffing.Personel"/> class.
		/// </summary>
		/// <param name='ID'>
		/// I.
		/// </param>
		public Personel (string ID)
		{
			_id = ID;
		}
		#endregion
		#region Public
		/// <summary>
		/// Gets or sets the performance value.
		/// </summary>
		/// <value>
		/// The performance value.
		/// </value>
		public UInt16 PerformanceValue { get; set;}
		/// <summary>
		/// Gets or sets the job load.
		/// </summary>
		/// <value>
		/// The job load.
		/// </value>
		public int JobLoad { get; set;}
		#endregion
		#region Private
		private const string _name;
		private const string _firstname;
		private const string _lastname;
		private const string _id;
		#endregion
	}
}

